package tokenizer;

import java.math.BigDecimal;

public class Token {
	
	public static enum Type {Id, Num, Plus, Minus, Times, Divide, OPar, CPar, Equal}
	
	private Type type;
	private String name;
	private BigDecimal value;
	
	
	public Token (){}


	public Token(Type type, String name, BigDecimal value) {
		this.type = type;
		this.name = name;
		this.value = value;
	}
	
	@Override
	public String toString(){
		
		return " | type: " + type + ", name: " + name + ", value: " + value;
		
	}
	

}
